using System.Runtime.Serialization;

namespace Director.DomainModels
{
	[DataContract]
	public abstract class Identifiable
	{
		protected Identifiable(int id, string name)
		{
			Id = id;
			Name = name;
		}

		[DataMember]
		public int Id { get; set; }

		[DataMember]
		public string Name { get; set; }
	}
}